target_include_directories(${PROJECT_NAME}.elf 
    PUBLIC 
    ${CMAKE_CURRENT_LIST_DIR}
)

target_sources(${PROJECT_NAME}.elf
    PRIVATE
    ${CMAKE_CURRENT_LIST_DIR}/main.c
    ${CMAKE_CURRENT_LIST_DIR}/startup_stm32g030xx.s
    ${CMAKE_CURRENT_LIST_DIR}/stm32g0xx_it.c
    ${CMAKE_CURRENT_LIST_DIR}/system_stm32g0xx.c
    ${CMAKE_CURRENT_LIST_DIR}/syscalls.c
    ${CMAKE_CURRENT_LIST_DIR}/control.c
    ${CMAKE_CURRENT_LIST_DIR}/display.c
    ${CMAKE_CURRENT_LIST_DIR}/interface.c
)
